package com.xgpro.domain.studycentre.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author tx
 * @version 1.0
 * @date 2019/9/28 23:58
 */
@Data
@Table(name = "t_user_course")
public class UserCourse implements Serializable{
    /**
     * 主键
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    /**
     * 学生id
     */
    private Integer studentId;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 课程评价表id
     */
    private Integer evaId;

    /**
     * 评价时间
     */
    private Date evaTime;

    /**
     * 是否上课
     */
    private Integer status;

    /**
     * 是否评估
     */
    private Integer isEva;

    /**
     * 评估表路径
     */
    private String url;
}
